﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Yes.Domain.Entity;

namespace Yes.Domain.Context
{
    /// <summary>
    /// 用户上下文
    /// </summary>
    public interface IUserContext
    {
        /// <summary>
        /// 当前登录用户
        /// </summary>
        LoginInfo CurrentUser { get;}

        /// <summary>
        /// 当前登录用户Id
        /// </summary>
        int CurrentUserId { get; }

    }
}
